<div class="doc-content">



<header class="api-profile-header" >
  <h2 class="md-display-1" >{{currentDoc.name}} API Documentation</h2>
  
</header>



<div layout="row" class="api-options-bar with-icon"></div>


<div class="api-profile-description">
  <p>The <code>md-subheader</code> directive creates a sticky subheader for a section.</p>
<p>Developers are able to disable the stickiness of the subheader by using the following markup</p>
<hljs lang="html">
  <md-subheader class="md-no-sticky">Not Sticky</md-subheader>
</hljs>

<h3 id="notes">Notes</h3>
<ul>
<li>The <code>md-subheader</code> directive uses the <a ng-href="api/service/$mdSticky">$mdSticky</a> service
to make the subheader sticky.</li>
</ul>
<blockquote>
<p>Whenever the current browser doesn&#39;t support stickiness natively, the subheader
will be compiled twice to create a sticky clone of the subheader.</p>
</blockquote>

</div>


<div>
  

  

  
  <section class="api-section">
    <h2 id="Usage">Usage</h2>
  
    <hljs lang="html">
<md-subheader>Online Friends</md-subheader>
</hljs>
  
  </section>
  
  


  
</div>


</div>
